package com.guofen.service.sjq;

import com.guofen.pojo.SjqDeodorizationRunningTwo;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface SjqDeodorizationRunningTwoService {

    boolean addForm(String dosingTime1,String waterTime1,String drugName1,double dosage1,String isScaleMark1,String nozzlePipelineCleanTime1,
                    String nozzlePipelineCleanCondition1,String packingCleaningTime1,String packingReplacementTime1,
                    String dosingTime2,String waterTime2,String drugName2,double dosage2,String isScaleMark2,String nozzlePipelineCleanTime2,
                    String nozzlePipelineCleanCondition2,String packingCleaningTime2, String packingReplacementTime2,String reportTime,String operator,String remarks);

    SjqDeodorizationRunningTwo findForm();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqDeodorizationRunningTwo record);
}
